<%@ page contentType="text/html; charset=utf-8" errorPage="../error.jsp"%>
<!DOCTYPE br PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
	String path_top = request.getContextPath();
	String basePath_top = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path_top + "/";
%>
<html>
<head>

</head>
<body>
	<form name="form" action="<%=path_top%>/admin/BookAction_addBook.action"
		method="post">

		<table width="900" align="center">
			<tr>
				<br>
				<td><%@include file="../top.jsp"%><br></td>
			</tr>
			<tr>
				<td>
					<div class="row">
						<div class="span9">
							<div class="row-fluid">
								<div class="span3">书号</div>
								<div class="span5 offset 3">
									<input name="bookid" type="text" size="25">
								</div>
							</div>
							<div class="row-fluid">
								<div class="span3">书名</div>
								<div class="span6">
									<input name="bookname" type="text" size="25">
								</div>
							</div>
							<div class="row-fluid">
								<div class="span3">作者</div>
								<div class="span3">
									<input name="author" type="text" size="25">
								</div>
							</div>
							<div class="row-fluid">
								<div class="span3">出版社</div>
								<div class="span3">
									<select name="publisherid">
										<s:iterator value="#session.publishers" var="pub">
											<option value="<s:property value="#pub.publisherid"/>"><s:property
													value="#pub.name" /></option>
										</s:iterator>
									</select>
								</div>
							</div>
							<div class="row-fluid">
								<div class="span3">出版日期</div>
								<div class="span3">
									<input name="pubdate" type="text" size="25" value="2004-07-27">
								</div>
							</div>
							<div class="row-fluid">
								<div class="span3">价格</div>
								<div class="span3">
									<input name="price" type="text" size="25" value="0.00">
								</div>
							</div>
							<div class="row-fluid">
								<div class="span3">库存数量</div>
								<div class="span3">
									<input name="quantity" type="text" size="25" value="0">
								</div>
							</div>
							<div class="row-fluid">
								<div class="span3">存储位置</div>
								<div class="span3">
									<input name="place" type="text" size="25">
								</div>
							</div>
							<div class="row-fluid">
								<div class="span3">类别</div>
								<div class="span3">
									<select name="type">
										<option value="0">普通</option>
										<option value="1">新书</option>
										<option value="2">精品</option>
									</select>
								</div>
							</div>
							<div class="row-fluid">
								<div class="span3">内容简介</div>
								<div class="span3">
									<textarea name="content" cols="70" rows="10"></textarea>
								</div>
							</div>
							<div class="row-fluid">
								<div class="span9">
									<div align="center">
										<input type="submit" value="新建 ">
									</div>
								</div>
							</div>
						</div>
					</div>
				<td>
			</tr>

		</table>
	</form>



	
</body>
</html>